< previous page page_582 next page >

Page 582
0582-01.jpg
Figure 16.17
Phong shading of a sphere containing 10,000 polygons.
Example program PZOrder, shown in Figure 16.18, displays surfaces with Phong shading. The edges between polygons are much less obvious than they are in the image produced by Gouraud shading shown in Figure 16.15. The specular highlights are also
0582-02.jpg
Figure 16.18
Program PZOrder displaying a surface with Phong shading.

 
< previous page page_582 next page >